package com.biwin.module.org.api.vo;

import com.biwin.common.app.vo.BwBasicVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

/**
 * TODO
 *
 * @author biwin
 * @since 0.0.1
 */
@ApiModel(value = "岗位信息返回对象 - PositionVo",
        description = "岗位信息的返回对象")
public class PositionVo extends BwBasicVo {

    @ApiModelProperty("岗位名称")
    private String name;

    @ApiModelProperty("岗位类型")
    private Integer type;

    @ApiModelProperty("是否是管理员岗位")
    private Boolean administrator;

    @ApiModelProperty("是否是共享岗位")
    private Boolean shared;

    @ApiModelProperty("是否是复制岗位")
    private Boolean copied;

    @ApiModelProperty("岗位状态 true-启用,false-禁用")
    private Boolean enabled;

    private List<SystemUserVo> systemUserVoList;

    public PositionVo() {
    }

    public PositionVo(Long positionId, String name, Integer type,
                      Boolean administrator, Date createTime, Boolean enabled) {
        this.id = positionId;
        this.name = name;
        this.type = type;
        this.administrator = administrator;
        this.createTime = createTime;
        this.enabled = enabled;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Boolean getAdministrator() {
        return administrator;
    }

    public void setAdministrator(Boolean administrator) {
        this.administrator = administrator;
    }

    public Boolean getShared() {
        return shared;
    }

    public void setShared(Boolean shared) {
        this.shared = shared;
    }

    public Boolean getCopied() {
        return copied;
    }

    public void setCopied(Boolean copied) {
        this.copied = copied;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public List<SystemUserVo> getSystemUserVoList() {
        return systemUserVoList;
    }

    public void setSystemUserVoList(List<SystemUserVo> systemUserVoList) {
        this.systemUserVoList = systemUserVoList;
    }

}
